package cn.yh.province.service;

import cn.yh.province.pojo.Province;
import com.fasterxml.jackson.core.JsonProcessingException;

import java.util.List;

public interface ProvinceService {


    List<Province> getAllProvinces();

    /**
     * 查询放入缓存中
     * @return
     * @throws JsonProcessingException
     */
    String findJson() throws JsonProcessingException;
}
